#!/usr/bin/python3
"""
@Time     : 7/15/18 12:45 PM
@Author   : codepanda
@Email    : 17920082@qq.com
@FIle     : classname.py.py
@Software : PyCharm
"""
from django import template

register = template.Library()


@register.filter
def classname(obj):
    return obj.__class__.__name__
